package ltd.sshine.runtime.pojo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "分页对象")
public class PageVO<T> {
    @Schema(description = "记录数据")
    private List<T> records;
    @Schema(description = "记录条数")
    private long total;
    @Schema(description = "页面大小")
    private int size;
    @Schema(description = "页号")
    private int current;
}